package com.atguigu.daijia.model.vo.driver;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/*
@description:司机设置信息
@ClassName DriverSetVo
@author chen
@create 2024-08-24 23:42
@Version 1.0
*/
@Data
public class DriverSetVo {
    @Schema(description = "司机ID")
    @TableField("driver_id")
    private Long driverId;

    @Schema(description = "服务状态 1：开始接单 0：未接单")
    @TableField("service_status")
    private Integer serviceStatus;

    // 订单里程说的是乘客的出发地到乘客的目的地的记录
    @Schema(description = "订单里程设置")
    @TableField("order_distance")
    private BigDecimal orderDistance;

    // 接单里程说的是司机的位置到当前乘客的位置
    @Schema(description = "接单里程设置")
    @TableField("accept_distance")
    private BigDecimal acceptDistance;

    @Schema(description = "是否自动接单")
    @TableField("is_auto_accept")
    private Integer isAutoAccept;
}
